package com.cndw.kungfu.config;

import java.util.HashMap;
import java.util.Map;

/**
 * 物品功能使用固定配置数据
 * 
 * @author fantadust [9677889@qq.com]
 * @date 2011-7-1 下午5:45:00
 */
public class GoodsEffectConfig {

	/**
	 * 收成追加卡
	 */
	private static final int[] collectGoodsIds = { 103015, 103017 };
	/**
	 * 粽子的编号
	 */
	public static final int[] zzGoodsId = { 103503, 103504, 103505 };
	
	/**
	 * 怪物卡
	 */
	public static final int guaiwuka = 103599;

	/**
	 * 特训保底符
	 */
	@Deprecated
	public static final int devilTrainGoodsId = 103923;
	/**
	 * 拆卸道具
	 */
	public static final int dismantle = 103000;

	/**
	 * 经验丹物品id
	 */
	private static final int[] expGoodsIds = { 103004, 103005, 103006, 103007 };
	/**
	 * 离线经验道具id
	 */
	private static final int[] offlineGoodsIds = { 103019, 103020, 103021 };

	/**
	 * 角色洗点使用的道具
	 */
	private static final int playerResetPointGoodsId = 103999;

	/**
	 * 开垦卡道具id
	 */
	private static final int[] rantGoodsIds = { 103012, 103013, 103014 };

	/**
	 * 收徒需要的道具
	 */
	private static final int discipleReinGoodsId = 103996;

	/**
	 * 小飞鞋道具id
	 */
	public static final int sceneTeleportId = 103995;

	/**
	 * 真元,武功石
	 */
	public static final int skillStoneGoodsId = 103999;
	/**
	 * 宠物进化石
	 */
	public static final int petStarGoodsId = 103307;
	/**
	 * 武道令
	 */
	public static final int warTokenGoodsId = 103502;

	/**
	 * 任务品质卡
	 */
	public static final int[] taskQualityIds = { 104001, 104002, 104003 };
	/**
	 * 生命丹
	 */
	public static final int[] hpDrugGoodsId = { 101101, 101102, 101103 };
	/**
	 * 攻击丹
	 */
	public static final int[] atkDrugGoodsId = { 101111, 101112, 101113 };
	/**
	 * 防御丹
	 */
	public static final int[] defDrugGoodsId = { 101121, 101122, 101123 };
	/**
	 * 速度丹
	 */
	public static final int[] spdDrugGoodsId = { 101131, 101132, 101133 };
	/**
	 * 命中丹
	 */
	public static final int[] hitDrugGoodsId = { 101141, 101142, 101143 };
	/**
	 * 闪避丹
	 */
	public static final int[] dodgDrugGoodsId = { 101151, 101152, 101153 };
	/**
	 * 七彩粽碎片id
	 */
	public static final int zongziBrokenId = 103507;
	/**
	 * 端午节礼券id
	 */
	public static final int zongziLiQuanId = 103506;
	/**
	 * 黄钻宠物id
	 */
	public static final int yellowVipPet = 103228;
	/**
	 * 升星宝符id
	 */
	public static final int starBaoFuId = 104011;
	/**
	 * 神器境界宝符id 初级 中级 高级
	 */
	public static final int[] artBaoFuIds = { 103524, 103525, 103526 };
	/**
	 * 徒弟成长宝符id 普通  白金 至尊
	 */
	public static final int[] disBaoFuIds = { 103805, 103806, 103807 };
	/**
	 * 中秋烟花ids
	 */
	public static final int[] fireworkIds = { 103561, 103562, 103563, 103564 };
	/**
	 * 喇叭物品Id
	 */
	public static final int chatSpeakerGoodsId = 103566;
	/**
	 * 灵性丹
	 */
	public static final int spiritGoodsId = 103568;

	/**
	 * 暴击丹
	 */
	// public static final int[] critDrugGoodsId = { 101161, 101162, 101163 };
	/**
	 * 韧性丹
	 */
	// public static final int[] toughDrugGoodsId = { 101171, 101172, 101173 };

	private static final Map<Integer, int[]> exchangeMap = new HashMap<Integer, int[]>();
	/**
	 * 徒弟洗髓丹
	 */
	public static final int washingId = 103804;
	/**
	 * 刷镖令
	 */
	public static final int dartId = 103576;
	/**
	 * 鼓舞令
	 */
	public static final int buffGoodsId = 103577;
	/**
	 * 兵魄晋升符
	 */
	public static final int actNodeUpGoodsId = 103609;
	/**
	 * 主播奖励道具id
	 */
	public static final int zhuboawardId = 103623;

	static {
		exchangeMap.put(104006, new int[] { 5, 20304101 });// 紫色兑换
		exchangeMap.put(104007, new int[] { 5, 20303101 });// 紫色兑换
		
		exchangeMap.put(104014, new int[] { 10, 20304117 });// 广寒之泪
		exchangeMap.put(104013, new int[] { 10, 20304116 });//  蟾宫桂枝
		exchangeMap.put(104012, new int[] { 10, 20304111 });// 思念结晶
		
	}

	public static int[] getCollectgoodsids() {
		return collectGoodsIds;
	}

	public static int getDismantle() {
		return dismantle;
	}

	public static int[] getExpgoodsids() {
		return expGoodsIds;
	}

	public static int[] getOfflinegoodsids() {
		return offlineGoodsIds;
	}

	public static int getPlayerresetpointgoodsid() {
		return playerResetPointGoodsId;
	}

	public static int[] getRantgoodsids() {
		return rantGoodsIds;
	}

	public static int getDiscipleReinGoodsId() {
		return discipleReinGoodsId;
	}

	public static int[] getExchangeConfig(int goodsId){
		return exchangeMap.get(goodsId);
	}
	
	public static void test() {
	}
}
